package com.scar1et.decorator.person.image;

/**
 * 西装
 * Created by scar1et on 15-10-29.
 */
public class Suit extends Dress {

    public Suit(PersonImage personImage) {
        setPersonImage(personImage);
    }

    @Override
    public void show() {
        System.out.println("穿上西装的");
        if (getPersonImage() != null) {
            getPersonImage().show();
        }
    }
}
